package com.it.goods.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hukai
 * @since 2021-07-26
 */
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "goodsId", type = IdType.ID_WORKER_STR)
    private Long goodsId;
    /**
     * 商品名称
     */
    @TableField("goodsName")
    private String goodsName;
    /**
     * 商品说明
     */
    @TableField("goodsDes")
    private String goodsDes;
    /**
     * 商品价格
     */
    @TableField("goodsPrice")
    private Double goodsPrice;
    /**
     * 数量
     */
    private Integer count;


    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsDes() {
        return goodsDes;
    }

    public void setGoodsDes(String goodsDes) {
        this.goodsDes = goodsDes;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "Goods{" +
        ", goodsId=" + goodsId +
        ", goodsName=" + goodsName +
        ", goodsDes=" + goodsDes +
        ", goodsPrice=" + goodsPrice +
        ", count=" + count +
        "}";
    }
}
